sector_list = []


def sector_area(angle, radius):
    """

    :param angle: 角度
    :param radius: 半径
    """
    i = 1
    result = angle / 360 * 3.14 * radius ** 2
    print("第 %d 个扇形的面积是 %.2f" % (i, result))
    record = {"扇形": i,
              "面积": result}
    sector_list.append(record)


sector_area(180, 5)
print(sector_list)
print("扇形输入成功")
